/**
  ETFRoot project, Anyang Normal University && IMP-CAS
  \class ETFOnlineSource
  \brief to process data stream from daq while it's working, i.e., during the
  experiment
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2021-09-28
  \date 2021-09-28 last modified
  \attention
  changelog
  <table>
  <tr>  <th>Date        <th>Author      <th>Description                    </tr>
  <tr>  <td>2021-09-28   <td>Asia Sun    <td>file created                   </tr>
  </table>

  \copyright Copyright (c) 2021 Anyang Normal U. && IMP-CAS with LGPLv3 LICENSE
*/

#include "ETFOnlineSource.h"
#include "ETFMsg.h"

ClassImp(ETFOnlineSource);

ETFOnlineSource::ETFOnlineSource() : fInputDataStream(nullptr){}

ETFOnlineSource::~ETFOnlineSource(){}

Int_t *ETFOnlineSource::GetInputDataStream(){
  if(!fInputDataStream)
    ETFMsg::Error("ETFOnlineSource", "GetInputDataStream: required pointer is null");
  return fInputDataStream;
} // end member function GetInputDataStream
